package com.xinou.daily_report.PO.okForm;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author lcc
 * @create 2021-07-05
 * @注意 本内容仅限于xinou内部传阅，禁止外泄以及用于其他的商业目的
 */
@Data
public class OkFormAddPO {

    @ApiModelProperty(value = "责任人")
    private Long liablerId;

    @ApiModelProperty(value = "指令人")
    private Long commanderId;

    @ApiModelProperty(value = "任务内容")
    private String message;

    @ApiModelProperty(value = "截止日期")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH", timezone="GMT+8")
    private LocalDateTime completeDate;

    @ApiModelProperty(value = "价值")
    private Integer price;
}
